DeleteGridCol(ColName)

Deletes the specifies column from the list.

Parameters

ColName. Specifies the name of the column to delete.

Examples

ListBlock = CRM.GetBlock("companygrid");
ListBlock.DeleteGridCol("comp_website");
CRM.AddContent(ListBlock.Execute());
Response.Write(CRM.GetPage());

Deletes the comp_website column in the company list.